////////////////////////////////////////////////////////////////////////////////
//
//  The ffi Document Processor
//  Copyright (C) 2012 by Kevin Carlson. All rights reserved.
//
//  This application is released under the terms of the Simplified (2-clause)
//  BSD License. For details, see the LICENSE file in the source distribution.
//
////////////////////////////////////////////////////////////////////////////////

#ifndef FFIDOCUMENTBLOCK_H
#define	FFIDOCUMENTBLOCK_H

class FfiDocumentBlock
{
    bool hasCursor;
    int cursorPosition;
    int blockLength;
    
public:
    FfiDocumentBlock();
    virtual ~FfiDocumentBlock();
    
    bool blockHasCursor()
    {
        return hasCursor;
    };
    
    virtual int getCursorPosition();
    virtual int getLength();
    
    virtual void moveCursorCharLeft();
    virtual void moveCursorCharRight();
    virtual void moveCursorWordLeft();
    virtual void moveCursorWordRight();

};

#endif

